package com.example.wlzz.enums;

import lombok.Getter;

@Getter
public enum TaskEnum {   //任务状态和接单状态
    NO_ACCEPT(0, "未接单"),  //在接单状态中代表取消的该任务的接单
    ACCEPT(1,"已接单"),      //在接单状态中代表接了该任务的接单
    COMPLETE(2,"已完成"),    //在接单状态中代表完成了该任务的接单
    ;
    private Integer code;

    private String message;

    TaskEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
